home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / c / wgt35.zip / WGTJOY.H < prev    next >
C/C++ Source or Header  |  1993-01-28  |  452b  |  24 lines

  1. /* Include file for WGT Joystick Routines
  2. Copyright 1993 Chris Egerter */
  3.  
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7.  
  8.  
  9. typedef struct {
  10.     int x,y;
  11.     int cenx,ceny;
  12.     int xrange,yrange;
  13.     int port,buttons;
  14.     int scale;
  15.     } joystick;
  16.  
  17. extern int wcheckjoystick(void);
  18. extern int wreadjoystick(joystick *);
  19. extern void winitjoystick(joystick *, int);
  20. extern void wcalibratejoystick(joystick *);
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24.